package com.cy.service;

import com.cy.common.pojo.CheckBox;
import com.cy.pojo.SysRole;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SysRoleService {
    List<SysRole> selectSysRole(String roleName);

    int deleteSysRole(Integer id);

    int updateSysRole(SysRole sysRole);

    int insertSysRole(SysRole sysRole);

    SysRole findByRoleId(Integer id);

    List<CheckBox> selectCheckRoles();
}
